package cn.uniqueww.javadesignpatterns.demos.design.template;

/**
 * 淘宝爬虫
 *
 * @since 2024/1/17 11:35 上午
 */
public class TBCrawler extends AbstractCrawler {
    /**
     * 爬取
     *
     * @param url
     * @return
     */
    @Override
    public String crawler(String url) {
        return "淘宝爬取了" + url;
    }

    /**
     * 解析
     *
     * @param content
     * @return
     */
    @Override
    public String parsing(String content) {
        return "淘宝解析了" + content;
    }
}
